import httpRequest from '@/services'

export function getRoleList() {
    return httpRequest({
        url: window.config.jsonHost,
        method: 'post',
        params: {
            'msg_id': '265'
        },
    })
}
export function addRole(params) {
    return httpRequest({
        url: window.config.jsonHost,
        method: 'post',
        params: {
            ...params,
            'msg_id': '266'
        },
    })
}
export function updateRole(params) {
    return httpRequest({
        url: window.config.jsonHost,
        method: 'post',
        params: {
            ...params,
            'msg_id': '268'
        },
    })
}

export function deleteRole(params) {
    return httpRequest({
        url: window.config.jsonHost,
        method: 'post',
        params: {
            ...params,
            'msg_id': '267'
        },
    })
}